package io.renren.modules.driver.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.driver.dao.PsParamSetDao;
import io.renren.modules.driver.entity.PsParamSetEntity;
import io.renren.modules.driver.service.PsParamSetService;



@Service("psParamSetService")
public class PsParamSetServiceImpl implements PsParamSetService {
	@Autowired
	private PsParamSetDao psParamSetDao;
	
	@Override
	public PsParamSetEntity queryObject(Long id){
		return psParamSetDao.queryObject(id);
	}
	
	@Override
	public List<PsParamSetEntity> queryList(Map<String, Object> map){
		return psParamSetDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return psParamSetDao.queryTotal(map);
	}
	
	@Override
	public void save(PsParamSetEntity psParamSet){
		psParamSetDao.save(psParamSet);
	}
	
	@Override
	public void update(PsParamSetEntity psParamSet){
		psParamSetDao.update(psParamSet);
	}
	
	@Override
	public void delete(Long id){
		psParamSetDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		psParamSetDao.deleteBatch(ids);
	}
	
}
